package a.f;

import a.d.p;
import a.d.s;
import a.d.t;
import a.d.w;

public class fc
  implements p
{
  private a.d.o a;
  private Object b;
  private ic c;
  private boolean d = false;
  private double e = 0.0D;
  private double f = 0.0D;
  private double g = 0.0D;
  private boolean h = false;
  public static int i;
  
  public fc(w paramw, s params, Object paramObject, ic paramic)
  {
    this(paramw, params, paramObject, paramic, false);
  }
  
  public fc(w paramw, s params, Object paramObject, ic paramic, boolean paramBoolean)
  {
    this.a = new a.d.o(paramw.a, paramw.b + params.b, params.a, params.b);
    this.b = paramObject;
    this.c = paramic;
    this.h = paramBoolean;
  }
  
  public fc(a.d.o paramo, Object paramObject, ic paramic, boolean paramBoolean)
  {
    this.a = paramo;
    this.b = paramObject;
    this.c = paramic;
    this.h = paramBoolean;
  }
  
  public fc(a.d.o paramo, Object paramObject, ic paramic)
  {
    this(paramo, paramObject, paramic, false);
  }
  
  public double b()
  {
    return this.g;
  }
  
  public void a(double paramDouble)
  {
    if ((o.eg) || ((paramDouble < 0.0D) || (paramDouble > 1.0D))) {
      throw new IllegalArgumentException("Value does not lie in interval [0,1]");
    }
    this.g = paramDouble;
  }
  
  public Object c()
  {
    return this.b;
  }
  
  public w d()
  {
    t localt = a(this.a);
    if (!o.eg) {
      if (localt != null) {
        return localt.f();
      }
    }
    return this.a.a().f();
  }
  
  public s e()
  {
    return a();
  }
  
  public double f()
  {
    return d().a();
  }
  
  public double g()
  {
    return d().b();
  }
  
  public double h()
  {
    return e().b();
  }
  
  public double i()
  {
    return e().c();
  }
  
  public t a()
  {
    t localt = a(this.a);
    if (!o.eg) {
      if (localt != null) {
        return localt;
      }
    }
    return this.a.a();
  }
  
  public a.d.o j()
  {
    return this.a;
  }
  
  private static t a(a.d.o paramo)
  {
    boolean bool = o.eg;
    int j = o.dg;
    double d1;
    double d2;
    double d3;
    double d4;
    if (!bool) {
      if (paramo.i() == 0.0D)
      {
        if (bool) {
          break label83;
        }
        if (paramo.j() == -1.0D)
        {
          d1 = paramo.d();
          d2 = paramo.e() - paramo.h();
          d3 = paramo.h();
          d4 = paramo.g();
          if ((!bool) && (j == 0)) {
            break label271;
          }
        }
      }
    }
    label83:
    if (!bool) {
      if (paramo.i() == 0.0D)
      {
        if (bool) {
          break label148;
        }
        if (paramo.j() == 1.0D)
        {
          d1 = paramo.d() - paramo.g();
          d2 = paramo.e();
          d3 = paramo.h();
          d4 = paramo.g();
          if ((!bool) && (j == 0)) {
            break label271;
          }
        }
      }
    }
    label148:
    if (!bool) {
      if (paramo.i() == 1.0D)
      {
        if (bool) {
          break label210;
        }
        if (paramo.j() == 0.0D)
        {
          d1 = paramo.d();
          d2 = paramo.e();
          d3 = paramo.g();
          d4 = paramo.h();
          if ((!bool) && (j == 0)) {
            break label271;
          }
        }
      }
    }
    label210:
    if ((bool) || ((paramo.i() == -1.0D) && ((bool) || (paramo.j() == 0.0D))))
    {
      d1 = paramo.d() - paramo.g();
      d2 = paramo.e() - paramo.h();
      d3 = paramo.g();
      d4 = paramo.h();
      if (j == 0) {}
    }
    else
    {
      return null;
    }
    label271:
    return new t(d1, d2, d4, d3);
  }
  
  public ic k()
  {
    return this.c;
  }
  
  public boolean l()
  {
    return this.h;
  }
  
  public void m()
  {
    this.c.a(this.b);
    this.d = true;
  }
  
  public void b(double paramDouble)
  {
    this.e = paramDouble;
  }
  
  public void c(double paramDouble)
  {
    this.f = paramDouble;
  }
  
  public double n()
  {
    return this.e;
  }
  
  public double o()
  {
    return this.f;
  }
  
  public double p()
  {
    return this.e + this.f;
  }
  
  public Object q()
  {
    return this.b;
  }
  
  public boolean r()
  {
    return this.d;
  }
  
  public String toString()
  {
    return "Label: " + this.c.toString() + " Location: " + d().toString();
  }
}


/* Location:           E:\idea\
 * Qualified Name:     a.f.fc
 * JD-Core Version:    0.7.0.1
 */